From 6d8f0056bcf9dfdd34a6cb5e4ccac44bebbc3edd Mon Sep 17 00:00:00 2001
From: Vladimir Smirnov <civil@gentoo.org>
Date: Mon, 15 Jun 2015 22:15:59 +0200
Subject: [PATCH] [PATCH] Do not set custom CFLAGS in cpan/Digest-SHA

Bug-Gentoo: https://bugs.gentoo.org/506818

Patch-Name: gentoo/D-SHA-CFLAGS.diff

Original-By: Matthias Maier <tamiko@gentoo.org>
---
 cpan/Digest-SHA/Makefile.PL | 6 ------
 1 file changed, 6 deletions(-)

diff --git a/cpan/Digest-SHA/Makefile.PL b/cpan/Digest-SHA/Makefile.PL
index af2c0c3..65f4771 100644
--- a/cpan/Digest-SHA/Makefile.PL
+++ b/cpan/Digest-SHA/Makefile.PL
@@ -64,12 +64,6 @@ if ($^O eq 'VMS') {
 	}
 }
 
-	# Enhance performance on Intel when using gcc
-
-if ($Config{archname} =~ /^i[3456]86/ && $Config{ccname} eq 'gcc') {
-	push(@extra, OPTIMIZE => '-O1 -fomit-frame-pointer');
-}
-
 my $fussy = '-Wall -Wextra -Wconversion -Wcast-align -Wpointer-arith ';
 push(@extra, CCFLAGS => $fussy . $Config{ccflags}) if $opt_w;
 
-- 
2.4.3

